package com.amos.interview.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * PROJECT: interview
 * DESCRIPTION: note
 *
 * @author Daoyuan
 * @date 2019/3/25
 */
@RestController
@RequestMapping
public class InterviewController {

    @GetMapping("boot")
    public String boot() {
        return System.getProperty("sun.boot.class.path");
    }

    @GetMapping("ext")
    public String ext() {
        return System.getProperty("java.ext.dirs");
    }

    @GetMapping("cp")
    public String cp() {
        return System.getProperty("java.class.path");
    }

}
